/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package queue;

import exceptions.EmptyQueueException;

/**
 *
 * @author pc
 */
public interface Queue<E> {

    public int size();

    public boolean isEmpty();

    public E front() throws EmptyQueueException;

    public void enqueue(E element);

    public E dequeue() throws EmptyQueueException;
}
